//
//  WYCDTViewCell.m
//  初试
//
//  Created by 中企互联 on 2017/10/17.
//  Copyright © 2017年 李胜军. All rights reserved.
//

#import "WYCDTViewCell.h"

@implementation WYCDTViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier HeightOfRow:(float)height
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])
    {
        
        
        self.timeLabel = [[UILabel alloc] init];
        self.timeLabel.frame = CGRectMake(40 * px, 20 * px, ScreenWidth, 48 * px);
        //    self.timeLabel.text = @"09/10 12:20:06";
        self.timeLabel.font = [UIFont systemFontOfSize:WyzFont];
        self.timeLabel.textColor = [UIColor blackColor];
        self.timeLabel.textAlignment = NSTextAlignmentLeft;
        [self.contentView addSubview:_timeLabel];
        
        self.repaymentLbel = [[UILabel alloc] init];
        self.repaymentLbel.frame = CGRectMake(self.timeLabel.x, CGRectGetMaxY(self.timeLabel.frame) + 20 * px, ScreenWidth / 3, 48 * px);
        self.repaymentLbel.font = [UIFont systemFontOfSize:38 * px];
        self.repaymentLbel.textColor = WYCRGBColor(189, 189, 189);
        //    self.repaymentLbel.text = @"还款";
        self.repaymentLbel.textAlignment = NSTextAlignmentLeft;
        [self.contentView addSubview:_repaymentLbel];
        
        
        
        
        
        
        
        self.moneyLabel = [[UILabel alloc] init];
        self.moneyLabel.frame = CGRectMake(ScreenWidth - 400 * px, self.timeLabel.y, 320 * px, self.timeLabel.height);
        self.moneyLabel.font = MiddleLight;
        self.moneyLabel.textColor = [UIColor blackColor];
        self.moneyLabel.textAlignment = NSTextAlignmentRight;
        [self.contentView addSubview:self.moneyLabel];
    }
    return self;
}




@end
